<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>52橙子网：结算中心：订单确认</TITLE>
<META http-equiv="pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache, must-revalidate">
<META http-equiv="expires" content="Wed, 26 Feb 2006 08:21:57 GMT">
<META http-equiv="Content-TYPE" content="text/html; charset=UTF-8">
<link href="/shop/css/global/orderconfirm.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/shop/css/confirm/confirm.css" media="all" type="text/css"/>
<link rel="stylesheet" href="/shop/css/global/top.css" media="all" type="text/css"/>
<SCRIPT language=JavaScript src="/shop/js/FoshanRen.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
// 表单验证
function validateForm(){
	var form = document.forms[0];
	if(form.note.value.trim()!="" ){
		if(byteLength(form.note.value)>200){
			alert("\n附言必须在100字以内");
			return false;
		}
	}
	return true;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
 <div class="container">
<jsp:include page="/WEB-INF/page/share/Head.jsp"></jsp:include>

<html:form action="/customer/shopping/manage" method="post">
<INPUT TYPE="hidden" NAME="method" value="saveorder" />
        <div class="type">
        	<img src="/shop/image/confirm/oder_type_icon.png"/>
        </div>
        
        <div class="box">
        	
            <div class="box_header">
                <div><font>查看以下订单信息,然后点击"订单确认:"</font></div>
                <div class="box_header_btn"><input type="image" alt="订单确认" src="/shop/image/confirm/confirm_btn.png" onClick="return validateForm()" /></div>
            </div>
            
            <div class="box_body">
            	<div class="box_title">配送详情:</div>      
            </div>
            <div class="box_line"></div>
        	
            <div class="box_box">
            	<div class="box_box_header">
                	<div><font>商品信息:</font></div>
                	<div class="box_header_btn"><A href="<html:rewrite action="/shopping/cart"/>?directUrl=${directUrl }"><img src="/shop/image/confirm/modify_btn.png" border=0/></A></div>
                </div>
     <div class="box_box_content">
                <c:forEach items="${buyCart.items}" var="item">
        			<div class="goods">
                    	<div class="goods_name"><A href="<html:rewrite action="/product/view"/>?productid=${item.product.id }" target="_blank">${item.product.name }</A>【颜色/样式:<c:forEach items="${item.product.styles}" var="style">${style.name}</c:forEach>】</div>
                        <div class="goods_cost">单价:<font style="color:#900000;">￥${item.product.sellprice }元</font></div>
                        <div class="goods_num">数量:${item.amount }</div>
                    </div>
        		</c:forEach><!-- loop end -->
                    <div class="goods">
                    	<div class="goods_oder">订单金额:￥${buyCart.orderTotalPrice }元</div>
                        <div class="goods_send">配送费:￥${buyCart.deliveFee }元</div>
                        <div class="goods_total">商品总价:￥${buyCart.totalSellPrice }元</div>
                    </div>
                    <div class="box_box_line"></div>
                    <div class="pay">应付金额:￥${buyCart.orderTotalPrice }元</div>
                </div>
                <div class="box_box_header">
                	<div><font>送货地址:</font></div>
                	<div class="box_header_btn"><A href="<html:rewrite action="/customer/shopping/deliver"/>?directUrl=${directUrl }"><img src="/shop/image/confirm/modify_btn.png" border=0/></A></div>
                </div>
                <div class="box_box_content">
                	<div class="address">收货人姓名:${buyCart.deliverInfo.recipients}</div>
                    <div class="address">地址:${buyCart.deliverInfo.address}</div>
                    <div class="address">邮编:${buyCart.deliverInfo.postalcode}</div>
                    <div class="address">电话:${buyCart.deliverInfo.tel} <c:if test="${!empty buyCart.deliverInfo.mobile}"> &nbsp; </c:if>${buyCart.deliverInfo.mobile}</div>
                </div>
                <div class="box_box_header">
                	<div><font>送货与付款方式:</font></div>
                	<div class="box_header_btn"><a href="<html:rewrite action="/customer/shopping/paymentway"/>#deliverway"><img src="/shop/image/confirm/modify_btn.png" border=0/></a></div>
                </div>
                <div class="box_box_content">
                	<div class="address">送货方式:${buyCart.deliverInfo.deliverWay.name}</div>
                    <div class="address">付款方式:${buyCart.paymentWay.name }</div>
                    <div class="address">时间要求:${buyCart.deliverInfo.requirement}</div>
                </div>
                <div class="box_box_header">
                	<div><font>附言:</font></div>
                	<div><a style="color:#fc9945;">填写您的一些要求(100字以内)</a></div>
                </div>
                <div class="box_box_content">
                	<textarea class="area"  NAME="note" ROWS="3" COLS="60"></textarea>
                </div>
                <div class="box_box_header">
                </div>
      </div>

                	
            
            <div class="box_btn"><input type="image" alt="订单确认" src="/shop/image/confirm/confirm_btn.png" onClick="return validateForm()" /></div>
            
        </div>
</html:form>
<jsp:include page="/WEB-INF/page/share/Foot.jsp"></jsp:include>
</div>
</BODY></HTML>